// Copyright 2018 The gooid Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.


package input

import (
	"github.com/gooid/gooid/internal/ndk"
)

type InputEvent = app.InputEvent
type InputQueue = app.InputQueue
type KeyEvent = app.KeyEvent
type MotionEvent = app.MotionEvent

const (
	KEY_STATE_UNKNOWN                      = app.KEY_STATE_UNKNOWN
	KEY_STATE_UP                           = app.KEY_STATE_UP
	KEY_STATE_DOWN                         = app.KEY_STATE_DOWN
	KEY_STATE_VIRTUAL                      = app.KEY_STATE_VIRTUAL
	META_NONE                              = app.META_NONE
	META_ALT_ON                            = app.META_ALT_ON
	META_ALT_LEFT_ON                       = app.META_ALT_LEFT_ON
	META_ALT_RIGHT_ON                      = app.META_ALT_RIGHT_ON
	META_SHIFT_ON                          = app.META_SHIFT_ON
	META_SHIFT_LEFT_ON                     = app.META_SHIFT_LEFT_ON
	META_SHIFT_RIGHT_ON                    = app.META_SHIFT_RIGHT_ON
	META_SYM_ON                            = app.META_SYM_ON
	META_FUNCTION_ON                       = app.META_FUNCTION_ON
	META_CTRL_ON                           = app.META_CTRL_ON
	META_CTRL_LEFT_ON                      = app.META_CTRL_LEFT_ON
	META_CTRL_RIGHT_ON                     = app.META_CTRL_RIGHT_ON
	META_META_ON                           = app.META_META_ON
	META_META_LEFT_ON                      = app.META_META_LEFT_ON
	META_META_RIGHT_ON                     = app.META_META_RIGHT_ON
	META_CAPS_LOCK_ON                      = app.META_CAPS_LOCK_ON
	META_NUM_LOCK_ON                       = app.META_NUM_LOCK_ON
	META_SCROLL_LOCK_ON                    = app.META_SCROLL_LOCK_ON
	EVENT_TYPE_KEY                         = app.INPUT_EVENT_TYPE_KEY
	EVENT_TYPE_MOTION                      = app.INPUT_EVENT_TYPE_MOTION
	KEY_EVENT_ACTION_DOWN                  = app.KEY_EVENT_ACTION_DOWN
	KEY_EVENT_ACTION_UP                    = app.KEY_EVENT_ACTION_UP
	KEY_EVENT_ACTION_MULTIPLE              = app.KEY_EVENT_ACTION_MULTIPLE
	KEY_EVENT_FLAG_WOKE_HERE               = app.KEY_EVENT_FLAG_WOKE_HERE
	KEY_EVENT_FLAG_SOFT_KEYBOARD           = app.KEY_EVENT_FLAG_SOFT_KEYBOARD
	KEY_EVENT_FLAG_KEEP_TOUCH_MODE         = app.KEY_EVENT_FLAG_KEEP_TOUCH_MODE
	KEY_EVENT_FLAG_FROM_SYSTEM             = app.KEY_EVENT_FLAG_FROM_SYSTEM
	KEY_EVENT_FLAG_EDITOR_ACTION           = app.KEY_EVENT_FLAG_EDITOR_ACTION
	KEY_EVENT_FLAG_CANCELED                = app.KEY_EVENT_FLAG_CANCELED
	KEY_EVENT_FLAG_VIRTUAL_HARD_KEY        = app.KEY_EVENT_FLAG_VIRTUAL_HARD_KEY
	KEY_EVENT_FLAG_LONG_PRESS              = app.KEY_EVENT_FLAG_LONG_PRESS
	KEY_EVENT_FLAG_CANCELED_LONG_PRESS     = app.KEY_EVENT_FLAG_CANCELED_LONG_PRESS
	KEY_EVENT_FLAG_TRACKING                = app.KEY_EVENT_FLAG_TRACKING
	KEY_EVENT_FLAG_FALLBACK                = app.KEY_EVENT_FLAG_FALLBACK
	MOTION_EVENT_ACTION_MASK               = app.MOTION_EVENT_ACTION_MASK
	MOTION_EVENT_ACTION_POINTER_INDEX_MASK = app.MOTION_EVENT_ACTION_POINTER_INDEX_MASK
	MOTION_EVENT_ACTION_DOWN               = app.MOTION_EVENT_ACTION_DOWN
	MOTION_EVENT_ACTION_UP                 = app.MOTION_EVENT_ACTION_UP
	MOTION_EVENT_ACTION_MOVE               = app.MOTION_EVENT_ACTION_MOVE
	MOTION_EVENT_ACTION_CANCEL             = app.MOTION_EVENT_ACTION_CANCEL
	MOTION_EVENT_ACTION_OUTSIDE            = app.MOTION_EVENT_ACTION_OUTSIDE
	MOTION_EVENT_ACTION_POINTER_DOWN       = app.MOTION_EVENT_ACTION_POINTER_DOWN
	MOTION_EVENT_ACTION_POINTER_UP         = app.MOTION_EVENT_ACTION_POINTER_UP
	MOTION_EVENT_ACTION_HOVER_MOVE         = app.MOTION_EVENT_ACTION_HOVER_MOVE
	MOTION_EVENT_ACTION_SCROLL             = app.MOTION_EVENT_ACTION_SCROLL
	MOTION_EVENT_ACTION_HOVER_ENTER        = app.MOTION_EVENT_ACTION_HOVER_ENTER
	MOTION_EVENT_ACTION_HOVER_EXIT         = app.MOTION_EVENT_ACTION_HOVER_EXIT
	MOTION_EVENT_FLAG_WINDOW_IS_OBSCURED   = app.MOTION_EVENT_FLAG_WINDOW_IS_OBSCURED
	MOTION_EVENT_EDGE_FLAG_NONE            = app.MOTION_EVENT_EDGE_FLAG_NONE
	MOTION_EVENT_EDGE_FLAG_TOP             = app.MOTION_EVENT_EDGE_FLAG_TOP
	MOTION_EVENT_EDGE_FLAG_BOTTOM          = app.MOTION_EVENT_EDGE_FLAG_BOTTOM
	MOTION_EVENT_EDGE_FLAG_LEFT            = app.MOTION_EVENT_EDGE_FLAG_LEFT
	MOTION_EVENT_EDGE_FLAG_RIGHT           = app.MOTION_EVENT_EDGE_FLAG_RIGHT
	MOTION_EVENT_AXIS_X                    = app.MOTION_EVENT_AXIS_X
	MOTION_EVENT_AXIS_Y                    = app.MOTION_EVENT_AXIS_Y
	MOTION_EVENT_AXIS_PRESSURE             = app.MOTION_EVENT_AXIS_PRESSURE
	MOTION_EVENT_AXIS_SIZE                 = app.MOTION_EVENT_AXIS_SIZE
	MOTION_EVENT_AXIS_TOUCH_MAJOR          = app.MOTION_EVENT_AXIS_TOUCH_MAJOR
	MOTION_EVENT_AXIS_TOUCH_MINOR          = app.MOTION_EVENT_AXIS_TOUCH_MINOR
	MOTION_EVENT_AXIS_TOOL_MAJOR           = app.MOTION_EVENT_AXIS_TOOL_MAJOR
	MOTION_EVENT_AXIS_TOOL_MINOR           = app.MOTION_EVENT_AXIS_TOOL_MINOR
	MOTION_EVENT_AXIS_ORIENTATION          = app.MOTION_EVENT_AXIS_ORIENTATION
	MOTION_EVENT_AXIS_VSCROLL              = app.MOTION_EVENT_AXIS_VSCROLL
	MOTION_EVENT_AXIS_HSCROLL              = app.MOTION_EVENT_AXIS_HSCROLL
	MOTION_EVENT_AXIS_Z                    = app.MOTION_EVENT_AXIS_Z
	MOTION_EVENT_AXIS_RX                   = app.MOTION_EVENT_AXIS_RX
	MOTION_EVENT_AXIS_RY                   = app.MOTION_EVENT_AXIS_RY
	MOTION_EVENT_AXIS_RZ                   = app.MOTION_EVENT_AXIS_RZ
	MOTION_EVENT_AXIS_HAT_X                = app.MOTION_EVENT_AXIS_HAT_X
	MOTION_EVENT_AXIS_HAT_Y                = app.MOTION_EVENT_AXIS_HAT_Y
	MOTION_EVENT_AXIS_LTRIGGER             = app.MOTION_EVENT_AXIS_LTRIGGER
	MOTION_EVENT_AXIS_RTRIGGER             = app.MOTION_EVENT_AXIS_RTRIGGER
	MOTION_EVENT_AXIS_THROTTLE             = app.MOTION_EVENT_AXIS_THROTTLE
	MOTION_EVENT_AXIS_RUDDER               = app.MOTION_EVENT_AXIS_RUDDER
	MOTION_EVENT_AXIS_WHEEL                = app.MOTION_EVENT_AXIS_WHEEL
	MOTION_EVENT_AXIS_GAS                  = app.MOTION_EVENT_AXIS_GAS
	MOTION_EVENT_AXIS_BRAKE                = app.MOTION_EVENT_AXIS_BRAKE
	MOTION_EVENT_AXIS_DISTANCE             = app.MOTION_EVENT_AXIS_DISTANCE
	MOTION_EVENT_AXIS_TILT                 = app.MOTION_EVENT_AXIS_TILT
	MOTION_EVENT_AXIS_GENERIC_1            = app.MOTION_EVENT_AXIS_GENERIC_1
	MOTION_EVENT_AXIS_GENERIC_2            = app.MOTION_EVENT_AXIS_GENERIC_2
	MOTION_EVENT_AXIS_GENERIC_3            = app.MOTION_EVENT_AXIS_GENERIC_3
	MOTION_EVENT_AXIS_GENERIC_4            = app.MOTION_EVENT_AXIS_GENERIC_4
	MOTION_EVENT_AXIS_GENERIC_5            = app.MOTION_EVENT_AXIS_GENERIC_5
	MOTION_EVENT_AXIS_GENERIC_6            = app.MOTION_EVENT_AXIS_GENERIC_6
	MOTION_EVENT_AXIS_GENERIC_7            = app.MOTION_EVENT_AXIS_GENERIC_7
	MOTION_EVENT_AXIS_GENERIC_8            = app.MOTION_EVENT_AXIS_GENERIC_8
	MOTION_EVENT_AXIS_GENERIC_9            = app.MOTION_EVENT_AXIS_GENERIC_9
	MOTION_EVENT_AXIS_GENERIC_10           = app.MOTION_EVENT_AXIS_GENERIC_10
	MOTION_EVENT_AXIS_GENERIC_11           = app.MOTION_EVENT_AXIS_GENERIC_11
	MOTION_EVENT_AXIS_GENERIC_12           = app.MOTION_EVENT_AXIS_GENERIC_12
	MOTION_EVENT_AXIS_GENERIC_13           = app.MOTION_EVENT_AXIS_GENERIC_13
	MOTION_EVENT_AXIS_GENERIC_14           = app.MOTION_EVENT_AXIS_GENERIC_14
	MOTION_EVENT_AXIS_GENERIC_15           = app.MOTION_EVENT_AXIS_GENERIC_15
	MOTION_EVENT_AXIS_GENERIC_16           = app.MOTION_EVENT_AXIS_GENERIC_16
	MOTION_EVENT_BUTTON_PRIMARY            = app.MOTION_EVENT_BUTTON_PRIMARY
	MOTION_EVENT_BUTTON_SECONDARY          = app.MOTION_EVENT_BUTTON_SECONDARY
	MOTION_EVENT_BUTTON_TERTIARY           = app.MOTION_EVENT_BUTTON_TERTIARY
	MOTION_EVENT_BUTTON_BACK               = app.MOTION_EVENT_BUTTON_BACK
	MOTION_EVENT_BUTTON_FORWARD            = app.MOTION_EVENT_BUTTON_FORWARD
	MOTION_EVENT_TOOL_TYPE_UNKNOWN         = app.MOTION_EVENT_TOOL_TYPE_UNKNOWN
	MOTION_EVENT_TOOL_TYPE_FINGER          = app.MOTION_EVENT_TOOL_TYPE_FINGER
	MOTION_EVENT_TOOL_TYPE_STYLUS          = app.MOTION_EVENT_TOOL_TYPE_STYLUS
	MOTION_EVENT_TOOL_TYPE_MOUSE           = app.MOTION_EVENT_TOOL_TYPE_MOUSE
	MOTION_EVENT_TOOL_TYPE_ERASER          = app.MOTION_EVENT_TOOL_TYPE_ERASER
	SOURCE_CLASS_MASK                      = app.INPUT_SOURCE_CLASS_MASK
	SOURCE_CLASS_NONE                      = app.INPUT_SOURCE_CLASS_NONE
	SOURCE_CLASS_BUTTON                    = app.INPUT_SOURCE_CLASS_BUTTON
	SOURCE_CLASS_POINTER                   = app.INPUT_SOURCE_CLASS_POINTER
	SOURCE_CLASS_NAVIGATION                = app.INPUT_SOURCE_CLASS_NAVIGATION
	SOURCE_CLASS_POSITION                  = app.INPUT_SOURCE_CLASS_POSITION
	SOURCE_CLASS_JOYSTICK                  = app.INPUT_SOURCE_CLASS_JOYSTICK
	SOURCE_UNKNOWN                         = app.INPUT_SOURCE_UNKNOWN
	SOURCE_KEYBOARD                        = app.INPUT_SOURCE_KEYBOARD
	SOURCE_DPAD                            = app.INPUT_SOURCE_DPAD
	SOURCE_GAMEPAD                         = app.INPUT_SOURCE_GAMEPAD
	SOURCE_TOUCHSCREEN                     = app.INPUT_SOURCE_TOUCHSCREEN
	SOURCE_MOUSE                           = app.INPUT_SOURCE_MOUSE
	SOURCE_STYLUS                          = app.INPUT_SOURCE_STYLUS
	SOURCE_TRACKBALL                       = app.INPUT_SOURCE_TRACKBALL
	SOURCE_TOUCHPAD                        = app.INPUT_SOURCE_TOUCHPAD
	SOURCE_TOUCH_NAVIGATION                = app.INPUT_SOURCE_TOUCH_NAVIGATION
	SOURCE_JOYSTICK                        = app.INPUT_SOURCE_JOYSTICK
	SOURCE_ANY                             = app.INPUT_SOURCE_ANY
	KEYBOARD_TYPE_NONE                     = app.INPUT_KEYBOARD_TYPE_NONE
	KEYBOARD_TYPE_NON_ALPHABETIC           = app.INPUT_KEYBOARD_TYPE_NON_ALPHABETIC
	KEYBOARD_TYPE_ALPHABETIC               = app.INPUT_KEYBOARD_TYPE_ALPHABETIC
)
